<table cellpadding="5">
	<input name="id" type="hidden" value="${(customerInfoItem.id)!}" />
	<tr>
		<td class="tbLabel">客户编码:</td>
		<td>
			<input name="code"  class="easyui-validatebox textbox" data-options="required: true" value="${(customerInfoItem.code)!}" validType="remote['customerInfo.do?checkCustomerCodeIsExit&id=${(customerInfoItem.id)!}','code']" invalidMessage="客户编码已存在"/>
		</td>
		<td class="tbLabel">客户名称:</td>
		<td>
			<input name="name"  class="easyui-validatebox textbox" data-options="required: true" value="${(customerInfoItem.name)!}"/>
		</td>
		<td>
		</td>
	</tr>
	<tr>
		<td class="tbLabel">所在地区:</td>
		<td>
			<@eu.comboBox id="customerArea" name="area" required="false" url="common.do?loadComboBox&key=CUSTOMER_AREA&value=${(customerInfoItem.area)!}"/>
		</td>
		<td colspan="3">
			<table>
				<#assign addressHtmlId = "customerEditAddressId" addressWidth="100">
				<#include "/base/address.html">
			</table>
		</td>
	</tr>
	<tr>
		<td class="tbLabel">详细地址:</td>
		<td colspan="3">
			<input id="customerEditAddressId" name="address" style="width:480px;"  class="easyui-validatebox textbox" data-options="required: false" value="${(customerInfoItem.address)!}"/>
		</td>
		<td class="tbLabel">邮编:</td>
		<td>
			<input name="postcodes" style="width:70px;" class="easyui-validatebox textbox" data-options="required: false" value="${(customerInfoItem.postcodes)!}"/>						
		</td>
	</tr>
	
	<tr>
		<td class="tbLabel">归属区域:</td>
		<td>
			<@eu.comboBox  name="customerAreaId" required="true" url="baseArea.do?loadBaseAreaComboBox&value=${(customerInfoItem.customerAreaId)!}"/>
		</td>
		<td class="tbLabel">默认发货仓库:</td>
		<td>
			<@eu.combogrid
				idField="id" textField="name" name="warehouseId"
				url="warehouse.do?loadComboGrid" item="com.xdtech.ad.vo.WarehouseItem"
				values="${(customerInfoItem.warehouseId)!1}"/> 
		</td>
	</tr>
	
	<tr>
		<td class="tbLabel">客户级别:</td>
		<td>
			<@eu.comboBox  name="customerLevelId" required="true" url="customerLevel.do?loadCustomerLevelComboBox&value=${(customerInfoItem.customerLevelId)!}"/>		
		</td>
	</tr>
	
	
	<tr>
		<td class="tbLabel">座机:</td>
		<td>
			<input name="tel"  class="easyui-validatebox textbox" data-options="required: false" value="${(customerInfoItem.tel)!}"/>
		</td>
		<td class="tbLabel">传真:</td>
		<td>
			<input name="fax"  class="easyui-validatebox textbox" data-options="required: false" value="${(customerInfoItem.fax)!}"/>
		</td>
	</tr>
	<tr>
		<td class="tbLabel">联系人:</td>
		<td>
			<input name="contacts"  class="easyui-validatebox textbox" data-options="required: false" value="${(customerInfoItem.contacts)!}"/>
		</td>
		<td class="tbLabel">QQ:</td>
		<td>
			<input name="QQ"  class="easyui-validatebox textbox" data-options="required: false" value="${(customerInfoItem.QQ)!}"/>
		</td>
	</tr>
	<tr>
		<td class="tbLabel">电话:</td>
		<td>
			<input name="mobilePhone"  class="easyui-validatebox textbox" data-options="required: false" value="${(customerInfoItem.mobilePhone)!}"/>
		</td>
		<td class="tbLabel">业务员:</td>
		<td>
			<@eu.combogrid id="opeatorCombogrid" idField="loginName" textField="name" name="opeartor" url="user.do?loadByCondition" item="com.xdtech.sys.vo.UserItem" values="'${(customerInfoItem.opeartor)!}'"/>
		</td>

		</td>
	</tr>
	<tr>
		<td class="tbLabel">备注:</td>
		<td colspan="3">
			<textarea style="height: 90px;width: 418px;" rows="6"  name="remark" class="easyui-validatebox textbox">${(customerInfoItem.remark)!}</textarea>
		</td
	</tr>
</table>
